package cn.itcast.goods.mapper;

import cn.itcast.goods.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    /**
     * 添加口味
     *
     * @param dishFlavor
     */
    void insert(DishFlavor dishFlavor);

    /**
     * 根据dishId集合删除口味表
     *
     * @param dishIds
     */
    void deleteByDishId(List<Integer> dishIds);
}
